//
//  DBModel.m
//  ZhuoxinAgriculture
//
//  Created by stone on 16/11/13.
//  Copyright © 2016年 KKING. All rights reserved.
//

#import "DBModel.h"

@implementation DBModel
- (instancetype)initWithDict:(NSDictionary *)dict {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}
+ (instancetype)modelWithDict:(NSDictionary *)dict {
    return [[self alloc] initWithDict:dict];
}

@end
